package com.ruoyi.community.domain.integral;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 报警信息表对象 int_alarms
 * 
 * @author hanning
 * @date 2021-08-22
 */
public class IntAlarms extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /**  */
    private Long id;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Long userId;

    /** 社区 */
    @Excel(name = "社区")
    private Integer communityId;

    /** 总积分 */
    @Excel(name = "总积分")
    private Integer possess;

    /** 单日获取积分次数 */
    @Excel(name = "单日获取积分次数")
    private Integer nums;

    /** 单日获取积分数 */
    @Excel(name = "单日获取积分数")
    private Integer count;

    /** 用户姓名 **/
    @Excel(name = "用户姓名")
    private String userName;

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }
    public void setCommunityId(Integer communityId) 
    {
        this.communityId = communityId;
    }

    public Integer getCommunityId() 
    {
        return communityId;
    }
    public void setPossess(Integer possess) 
    {
        this.possess = possess;
    }

    public Integer getPossess() 
    {
        return possess;
    }
    public void setNums(Integer nums) 
    {
        this.nums = nums;
    }

    public Integer getNums() 
    {
        return nums;
    }
    public void setCount(Integer count) 
    {
        this.count = count;
    }

    public Integer getCount() 
    {
        return count;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("userId", getUserId())
            .append("communityId", getCommunityId())
            .append("possess", getPossess())
            .append("nums", getNums())
            .append("count", getCount())
            .toString();
    }
}
